package com.kasangadu.generation.server.impl;

import javax.jdo.PersistenceManager;

import com.kasangadu.generation.server.Address;
import com.kasangadu.generation.server.GenerationStorageManager;
import com.kasangadu.generation.server.IGenerationDataOperation;

public class AddressImpl implements IGenerationDataOperation<Address> {

	
	
	public void save()
	{
		PersistenceManager pm = GenerationStorageManager.get().getPersistenceManager();
		try
		{			
			pm.makePersistent(this);
		}
		
		finally
		{
			pm.close();			
		}		
	}

	@Override
	public void delete() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Address getObject(String condition) {
		// TODO Auto-generated method stub
		return null;
	}

}
